package awk.designModel.command;

/**
 * 命令
 * 由士兵来执行
 */
public class MyCommand implements Command {

	private Soldier soldier;

	public MyCommand(Soldier soldier) {
		this.soldier = soldier;
	}

	@Override
	public void exe() {
		soldier.action();
	}
}
